home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
os2tools
/
av_133
/
av.doc
< prev
next >
Wrap
Text File
|
1992-09-18
|
11KB
|
272 lines
AV (Archive Viewer)
Copyright (c) 1992 by M. Kimes
All rights reserved
AV is a 32-bit PM archive viewing, application launching, and file
maintenance utility for OS/2 2.x.
For archive viewing, AV uses a plain text configuration file
(ARCHIVER.BB2) to get information about how different archives look and
how their corresponding archivers work. This file is included in the AV
archive and is easy to modify to add other archivers using a text
editor. As supplied, LH2, PKZIP, ZOO, ARJ (via UNARJ) and ARC are
configured for you (see versions below). AV requires the OS/2 archivers
to be present (on your PATH, preferably) to work. AV is a controller
program that collects data from and interchanges between you, your
files, and your archivers.
AV requires that the Helv bitmapped font that came with OS/2 be
installed.
AV supports file association; associating datafiles with executable
files so that applications can be started by selecting data files. AV
also has OS/2 1.x-like Groups for those who might want to use it as a
replacement to the Workplace Shell due to memory constrictions. Groups
are limited, and the Mass Move/Copy/Delete/Manipulation and Build
Archive commands are non-functional in the unregistered version of AV.
You do not have to use AV for archive viewing to use the program
launching and file maintenance features.
Setting up AV:
=============
To use AV, copy ARCHIVER.BB2 (if you want archive viewing capability)
and AV.EXE somewhere on your PATH (or DPATH for ARCHIVER.BB2). Type SET
at a CMD.EXE command prompt and look for PATH= if you don't know what
your PATH is. Check the Command Reference under PATH, DPATH and SET if
you don't have any idea what I'm talking about (hint: d:\OS2 is always
on the PATH, where d: is the drive on which you installed OS/2).
Copy AV.HLP into your HELP directory. Type SET and look for HELP=... to
find it. If you have no idea what SET is, type VIEW CMDREF SET at an
OS/2 command prompt, or look for the Command Reference in the
Information folder (hint: it's usually d:\OS2\HELP, where d: is the
drive on which you installed OS/2).
The first time you run AV, click the Cfg button and set up the programs
that you'll be using with AV. If you give no Viewer, AV uses a cheap
internal viewer.
As you've received AV, it's set up for the following OS/2 archivers on
your PATH:
Zoo 1.51 (also seems to work with 2.1)
PK(Un)Zip 1.01
LH2 2.11
UnArj 2.10
Arc 5.12mpl
Archiver credits:
Zoo -- Rahul Dhesi
Zip -- Mark Adler, Richard B. Wales, Jean-loup Gailly
and Kai Uwe Rommel.
Unzip -- S. H. Smith and others / Info-ZIP
PK(UN)ZIP -- PKWARE
Arc -- System Enhancements Associates
Lh2 -- Peter Fitzsimmons
Arj -- Robert K. Jung
If your archivers aren't on your PATH or if you use different archivers
you will probably need to make adjustments to ARCHIVER.BB2. There are
notes in the file about how to replace PK(Un)Zip with Zip/Unzip, Arc
5.12mpl with Arc2 6.0, and UnArj 2.10 with Scott Dudley's port of UnArj
2.30. There are general notes on how it's done if you need to set up
something entirely different. AV will also try to help you out while
you're in the program if it senses something may be amiss (like you
screwed up); there's a built-in archiver detail editor for quick changes
and testing to the archiver details.
You can run TESTAV.EXE in the directory from which you intend to run
AV.EXE to easily check a few things ahead of time.
Please do use all those Help buttons; that's what they're there for.
Warning: Go ahead and look at AV, but if your archivers aren't those
listed above, and located on your PATH, don't expect AV's archive
viewing to magically work properly until you edit ARCHIVER.BB2, either
internally or externally. You can test AV out on the TEST.* archives
included in the distribution archive inside archive TESTARC.ZIP; unpack
them, select them, and see what happens.
Using AV:
========
Typing AV at a command line prompt (or reasonable OS/2 facsimile, like
an AV program object) will bring up AV. You can optionally follow that
with a path or filename. Examples:
Start AV in current directory:
AV
Start AV on drive D: in directory \ARCS (note trailing backslash):
AV D:\ARCS\
Start AV on drive E: in directory \ADIR looking at ANARC.ARC:
AV E:\ARCS\ANARC.ARC
AV operates by presenting you with a few different dialogue boxes in
which you can pick things to look at or do. There's full documentation
available online, so this file is brief.
When you upgrade or add archivers:
=================================
The file ARCHIVER.BB2 contains all the information AV uses to get at the
guts of an archive. ARCHIVER.BB2 has comments in it to explain how it
works, how to modify it and how to add to it. If your copy of AV seems
to not be working properly (identifying files properly), chances are good
that your version of an archiver isn't the same as the one for which the
file was made. You'll have to load ARCHIVER.BB2 and modify it. Look at
the bottom of ARCHIVER.BB2 for some hints on the easiest ways to do that.
Note that there are a couple of different versions of archivers floating
around that have details different than those "stock" in ARCHIVER.BB2.
I've made commented notes in the file where I know of differences to
make it easier for you to change, and AV should let you know if it
thinks you might need to tweak ARCHIVER.BB2. Don't be afraid, crank up
a text editor and fix it.
If AV thinks you've got a buggered-up archiver entry, it'll try to give
you advice and help you fix it. You'll need to refer to the notes in
the ARCHIVER.BB2 that came with AV for full details, so save a copy.
Most of the time when you upgrade (as opposed to add or completely
change) an archiver, you'll be able to simply select an archive of the
type being upgraded, then come to the Archiver Details screen and tweak
your settings. It's even possible you'll never notice the change...
Hints:
======
Use the Workplace to associate archive names (*.ZIP, *.LZH, etc.) with
AV (right-click on AV's program object, open Settings, and look at the
third page, Associations). Then, if you double-click on an archiver
object in Drives, AV will be executed.
Under Parameters on the first page (Program) of AV's program Settings,
put %* so that if you drag an archive onto AV's program object it'll
kick up and directly view the archive.
Use AV's association feature to associate *.TAR with a TAR archiver (no
way I know of to tell they're archives by peeking at the file). If
you're a C programmer you might want to associate *.MAK files with your
compiler, and *.C and *.H files with your text editor.
Set up some commonly used filemasks in advance, including those you
might use for file maintenance (*.BAK, FNEWS*.*, etc.) and save them by
calling up the Config dialog, checking "Save As Defaults," and clicking
Okay. You can have up to 25 masks, and masks can contain multiple
entries separated by a semi-colon.
Replacing the Workplace Shell:
=============================
To use AV as your Workplace Shell (not recommended unless you're in a
very tight memory situation, say less than 8mb), install as above, then
change the line in your CONFIG.SYS that starts SET RUNWORKPLACE= with
SET RUNWORKPLACE=<drive>:<directory\>AV.EXE
where <drive>:<directory> is the path to where you have AV.EXE
installed. You can just REM out the old line to let you easily change
your CONFIG.SYS back if AV doesn't work out as you'd like.
When AV is running as the Workplace Shell, you can use it to set a
bitmap to the desktop background. Highlight the bitmap file, then
select Desktop from the Menu control. AV calls OS/2 to set the bitmap.
To get rid of the bitmap and restore the desktop to a color, highlight
something besides a bitmap and select Desktop as above.
Known bugs/features:
===================
AV doesn't handle filenames with spaces in them. There's a limit of 500
files/archive (200 for the unregistered version). I don't like AV's
Shutdown when it's running as an alternate to the Workplace Shell (safe
but ugly as sin).
Warranty:
========
Absolutely none.
Support:
=======
Registered users may send and receive Fidonet netmail, Snail mail or
call the BBS with questions and answers (although, to be honest, AV is
so simple help should rarely if ever be needed). See end of document
for addresses.
Unregistered users will get help as and if I get the time. If you never
bothered to edit ARCHIVER.BB2 don't bother to ask for help.
Shareware:
=========
If you like and use AV, you should send the author $25.00 US via check
or money order at the address below. If you'd like the source code,
send another $50.00 US. The "registered" version doesn't have the
opening popup, has working Move, Copy, Build, Groups, etc., and will
probably have further enhancements by the time you register (I may not
be the best programmer around, but I'm balls fast).
You may continue to use the unregistered version of AV if you're a
tightwad, or just plain broke. My intent is not to gouge you for cash,
but to provide a service and sell a program. You must register,
however, to get a fully functional copy of AV.
The above prices and terms are for private individuals. Commercial
users _must_ register to use AV, and must pay $50.00 US per machine.
Source code is available for commercial users; ask for pricing if you're
interested.
Copyrights and such:
Zoo -- Rahul Dhesi
Lh2 -- Peter Fitzsimmons
PK(UN)ZIP -- PKWARE
Arj -- Robert Jung
Zip -- Mark Adler, Richard B. Wales, Jean-loup Gailly
and Kai Uwe Rommel.
Unzip -- S. H. Smith and others / Info-ZIP
Fidonet -- Tom Jennings
AV -- Mark Kimes
History:
1.32:
o AV was user friendly before; now it's user protective.
o Added checks on configured programs where possible without slowing
down AV at every turn
o Added online editting of ARCHIVER.BB2 info
o Added multiple filemask spec; multiple masks separated by ;
o 32-bit OS/2 2.x executable now; was 16-bit
1.33:
o Added still more user protection
o Added filemask storage and retrieval
o Added cheap internal viewer for those who don't have a viewer
configured
Mark Kimes
542 Merrick
Shreveport, LA 71104
(318)222-3455 data
Fidonet#1:380/16.0